<div class="admin">
    <div class="tab panel dux-box admin-panel">
        <div class="panel-head"><strong>修改关键字</strong></div>
        <form method="post" id="myform" name="myform" action="{:U('edit')}">
            <table class="table tb-type2">
                <tbody>
                    <tr>
                        <td width='8%' class="required"><label class="validation" for="k_title">关键词名称:</label></td>
                        <td class="vatop rowform"><input id="titles" name="k_title" value="{$rs['k_title']}" class="input input_big" type="text"></td>
                    </tr>
                    <tr>
                        <td class="required"><label>颜色:</label></td>
                        <td class="vatop rowform"><input name="k_color" id="k_color" value="{$rs['k_color']}" class="input input_big" type="text"></td>
                    </tr>
                    <tr>
                        <td class="required"><label>是否加粗:</label></td>
                        <td class="vatop rowform onoff">
                <if condition="$rs['k_strong'] eq 1">
                    <div class="form-group">
                        <div class="field">
                            <div class="button-group radio">
                                <label class="button active">
                                    <input name="k_strong" id="is_state_1" value="1" checked="checked" type="radio"><span class="icon icon-check"></span> 加粗
                                </label>
                                <label class="button">
                                    <input name="k_strong" id="is_state_0" value="0" type="radio"><span class="icon icon-times"></span> 不加粗
                                </label>
                            </div>
                        </div>
                    </div>
                    <else />
                    <div class="form-group">
                        <div class="field">
                            <div class="button-group radio">
                                <label class="button active">
                                    <input name="k_strong" id="is_state_1" value="1" type="radio"><span class="icon icon-check"></span> 加粗
                                </label>
                                <label class="button">
                                    <input name="k_strong" id="is_state_0" value="0" checked="checked" type="radio"><span class="icon icon-times"></span> 不加粗
                                </label>
                            </div>
                        </div>
                    </div>
                </if>
                </td>
                </tr>
                <tr>
                    <td class="required"><label>是否加粗:</label></td>
                    <td class="vatop rowform onoff"><input id="titles" name="k_order" value="{$rs['k_order']}" class="input input_big" type="text"></td>
                    <td class="vatop tips"></td>
                </tr>
                </tbody>
                <tfoot>
                    <tr class="tfoot">
                        <td colspan="2">
                            <input type="hidden" value="{$rs['k_id']}" name="k_id" />
                            <input type="submit" value="提交" class="button bg-main" />
                        </td>
                    </tr>
                </tfoot>
            </table>
        </form>
    </div>
</div>
<script type="text/javascript">
    $('#myform').layer({});
    $("#k_color").bigColorpicker("k_color");
</script>
